//
//  BaseCollectionViewCell.h
//  BaseProject
//
//  Created by mac on 2020/12/5.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@class BaseCollectionViewCell;
@protocol BaseCollectionViewCellDelegate <NSObject>
- (void)cell:(BaseCollectionViewCell *)cell indexPath:(NSIndexPath *)indexPath extra:(id)extra;
@end

@interface BaseCollectionViewCell : UICollectionViewCell
@property(nonatomic, strong) NSIndexPath *indexPath;
@property(nonatomic, weak) id <BaseCollectionViewCellDelegate> delegate;
- (void)makeUI;
- (void)handleEvent;
- (void)bindViewModel;
@end

NS_ASSUME_NONNULL_END
